@font-face {
    font-family: 'zhanku';
    src: url(../fontContent/站酷快乐体/站酷快乐体.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "zhanku";
}
a{
    text-decoration: none;
    color: white;
}
li{
    list-style: none;
}

nav {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: 10vh;
    background-color: rgba(65,81,101,0.9);
}
.logo{
    font-size: 20px;
    font-weight: 600;
    color: #dadbdd;
    flex:0 0 10vw;
}
/* -===================导航栏======================== */
.nav-menu{
    flex: 1.5;
    display: flex;
    justify-content: space-between;
    max-width: 550px;
}
.nav-menu li{
    padding: 10px;
    list-style: none;
    color: #dadbdd;
    font-weight: 600;
    transition: all ease-in-out .3s;
}
.nav-menu li:hover{
    transform: scale(1.2);
    background-color: rgba(204, 204, 204, 0.068);
    border-bottom: 1px white solid;
}
.nav-menu li a{
    text-decoration: none;
    color: #dadbdd;
    font-weight: 600;
}

.nav-menu .current{
    transform: scale(1.2);
    color: #fff;
    background-color: rgb(13, 8, 8);
}
/* ================右上的登陆 包括登录前的界面和登录后的界面 以及弹窗效果 */

.login-box .icon-guanbi1{
    position: absolute;
    right: 0px;
    top: 0px;
    color: #333;
    font-size: 35px;
    float: left;
    transition: all ease-in-out .3s;
}
#closeBtn:hover{
    transform: rotate(90deg) scale(1.2);
    color: rgb(255, 0, 0);
}
.login-box{
    min-width: 100vh;
    min-height: 100vh;
    border-radius: 2%;
    z-index: 999;
    height: 50%;
    width: 25%;
    display: none;
    position: fixed;
    background-color: transparent;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%); 
    box-shadow: 0 0 0 #ddd;
}
.mask{
    z-index: 99;
    width: 100%;
    height: 100%;
    background-color: #333;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color:rgba(0,0,0,.3);
}

.login-box{
    background-color: linear-gradient(200deg,#f52323,#96fbc4);
}
#avatar{
    width:10vh;
    height: 10vh;
    border-radius: 50%;
}
.Login{
    border-radius: 2%;
    margin: 15vh auto;
    background-color: #fff;
    width: 50%;
    height: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
}
.Login form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.Login input{
    width: 16rem;
    height: 3rem;
    border-radius: 3px;
    text-indent: 15px;
    outline: none;
    border: #ccc 1px solid;
    margin-bottom:15px  ;
}
.Login input:focus{
    outline: 1px solid lightseagreen;
} 

.Login button{
    border: none;
    height: 50px;
    width: 300px;
    background-color: lightseagreen;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}
.owl{
    width: 211px;
    height: 108px;
    background:url(../images/owl.png) no-repeat;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}
.owl .hand{
    width: 34px;
    height: 34px;
    border-radius: 40px;
    background-color: #472d20;
    position: absolute;
    left: 12px;
    bottom: -8px;
    /* 沿着Y轴缩放0.6倍 （压扁）*/
    transform: scaleY(0.6);
    /* 动画过渡 */
    transition: 0.3 ease-out;
}
.owl .hand.hand-r{
    left: 170px;
}
.owl.password .hand{
    transform: translateX(42px) translateY(-15px) scale(0.7);
}
.owl.password .hand.hand-r{
    transform: translateX(-42px) translateY(-15px) scale(0.7);
}
.owl .arms{
    position: absolute;
    top: 58px;
    width: 100%;
    height: 41px;
    overflow: hidden;
}
.owl .arms .arm{
    width: 40px;
    height: 65px;
    position: absolute;
    left: 20px;
    top: 40px;
    background:url("../images/hand.png") no-repeat;
    transform: rotate(-20deg);
    transition: 0.3s ease-out;
}
.owl .arms .arm.arm-r{
    transform: rotate(20deg) scaleX(-1);
    left: 158px;
}
.owl.password .arms .arm{
    transform: translateY(-40px) translateX(40px);
}
.owl.password .arms .arm.arm-r{
    transform: translateY(-40px) translateX(-40px) scaleX(-1);
}

.Register{
    padding: 0;
    margin: 15vh auto;
    background-color: #fff;
    width: 80%;
    height: 80%;
    border-radius: 2%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

 .Register form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
 .Register input{
    width: 16rem;
    height: 3rem;
    border-radius: 3px;
    text-indent: 15px;
    outline: none;
    border: #ccc 1px solid;
    margin-bottom:15px  ;
}
 .Register input:focus{
    outline: 1px solid lightseagreen;
} 

.Register button{
    cursor: pointer;
    border: none;
    height: 50px;
    width: 20vw;
    background-color: lightseagreen;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    
}
.Register div textarea{
    width: 30vw;
    height: 10vh;
    border: #333 2px solid;
}
.Register .IsButton{
    width: 2vh;
    height: 2vh;
}
#GoRegister,#GoLogin{
    margin-top: 10px;
    border-bottom: 2px blue solid;
    color: blue;
    cursor: pointer;
}
.el-upload-dragger{
    width: 300px;
    height: 100px;
}


.icon-ttubiao_password:before {
    content: "\e634";
    font-size: 1.8rem;
    color: #333;

}
.icon-yonghu:before {
    content: "\e633";
    font-size: 1.8rem;
    color: #333;

}
.icon-email:before {
    content: "\e62c";
    font-size: 1.8rem;
    color: #333;
}
.icon-dianhua:before{
    font-size: 1.8rem;
    color:#333;
}
.icon-dizhi:before{
    font-size: 1.8rem;
    color:#333;
}

/* ===============我是分割线============================== */

/*  */
.nav-login{
    display: flex;
    flex: 0 0 25%;
    justify-content: space-between;
    
}
.nav-login ul {
    display: flex;
    justify-content: space-around;
    align-items: center;  
}
.nav-login ul li img{
    text-align: center;
    height: 6vh;
    width: 6vh;
    object-fit: cover;
    border-radius: 50%;
}
.nav-login ul li:hover{
    transform: scale(1.2);
}
.nav-login ul li{
    transition: .3s all ease-in-out;
    margin-left: 10px;
    margin-right: 10px;
}
.nav-login ul li:hover{
    cursor: pointer;
}
/* ------------------------------------------------汉堡图标--------------------------------------- */
.burger div{
    width: 25px;
    height: 3px;
    background-color: #dadbdd;
    margin: 4px;
}

.burger{
    display: none;
}

/* =====导航栏需要====== */
.index-con{
    width: 100%;
}
.index-con .item{
    display: none;
}
/* 下面是elementui的修改 */


/* ========================网页中间内容开始================================== */



/*--------------------PartOne-----------------------*/
.item{
    width:45vh;
    height:45vh;
    margin:0 5vh;
    position: relative;
    text-align: center;
    background: url(../images/dog3.jpg) no-repeat;
    border-radius: 50%;
    justify-content: center;
    box-shadow: inset 0 0 0 2px rgba(0, 0,0, 0.1);
    transition: all 0.5s ease-in-out;
    background-position:center;
    background-size: cover;
    }
    .item:nth-child(2){
    background: url(../images/dog4.jpg) no-repeat;
    background-position:center;
    background-size: cover;
    }
    .item:nth-child(3){
    background: url(../images/cat\ \(1\).jpg) no-repeat;
    background-position:center;
    background-size: cover;
    }
    .item:nth-child(4){
    background: url(../images/cat\ \(2\).jpg) no-repeat;
    background-position: bottom 1vh center;
    background-size: cover;
    }
    
    .knowledge-box{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15vh;
    width: 100%;
    height: 100%;
    padding-bottom: 10vh;
    }
    
    .info{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    width:45vh;
    height:45vh;
    background-color: whitesmoke;
    border-radius: 50%;
    text-align: center;
    transition: all 0.5s ease-in-out;
    }
    
    .info h1{
    height: 10vh;
    font-size: 25px;
    letter-spacing: 1vh;
    color:red;
    margin: 0 5vh;
    padding-top:5vh;
    }
    
    .info p{
    color:black;
    font-size: 1rem;
    margin-top: .5vh;
    letter-spacing: .1vh;
    transition: ease-in-out,0.5s;
    border-top: 2px dotted raba(255,255,255,0.5);
    }
    
    .info a{
    display: block;
    color:purple;
    }
    
    .item:hover{
    box-shadow: inset 0 0 0 2px rgba(0, 0,0, 0.1);
    }
    
    .item:hover .info{
    opacity: 1;
    transform: scale(1.2);
    }
    
    .item:hover .item p{
    opacity: 1;
    }
    
    
    /*-------------------------------NEWS--------------------------------*/
    .news-holder p {
    margin-bottom: 12px;
    }
    
    .news-holder {
    max-width: 100vh;
    max-height: 80vh;
    margin: 0 auto;
    font-size: 20px;
    }
    
    .news-holder * {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }
    
    a {
    color: #336699;
    text-decoration: none;
    }
    
    .news-headlines {
    list-style: none;
    position: relative;
    }
    
    .news-headlines li {
    padding: 5px 20px 5px 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 20;
    color: #336699;
    }
    
    .nh-anim {
    -webkit-transition: all 0.75s ease-out;
    -moz-transition: all 0.75s ease-out;
    -o-transition: all 0.75s ease-out;
    transition: all 0.75s ease-out;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    }
    
    .news-headlines li:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #888;
    vertical-align: middle;
    margin-left: -12px;
    margin-right: 7px;
    }
    
    .news-headlines li:hover, a:hover {
    cursor: pointer;
    text-decoration: underline;
    }
    
    .news-headlines .highlight {
    width: 100%;
    background: #ededed;
    border-top: solid 1px #999;
    border-left: solid 1px #999;
    border-bottom: solid 1px #999;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    }
    
    .news-headlines .highlight:before {
    display: none;
    }
    
    .news-headlines {
    float: left;
    width: 49%;
    }
    
    .news-preview {
        float: left;
        border: solid 1px #999;
        width: 51%;
        background: #ededed;
        position: relative;
        z-index: 5;
        margin-left: -1px;
        min-height: 304px;
        position: relative;
    }
    
    .news-preview img {
        display: block;
        border: solid 1px #999;
        width: 100%;
        height: auto;
        margin: 0 auto 5px auto;
    } 
    
    .news-content {
    position: absolute;
    background: #ededed;
    z-index: 10;
    padding: 10px;
    top: 0;
    left: 0;
    display: none;
    }
    
    .top-content {
    display: block;
    }
    

/* ===============网页内容结束============================ */


footer{
    z-index: 99;
    position: relative;
    bottom: -10vh;
    background: #fff;
    display: flex;
    color: rgb(102, 102, 102);
    justify-content: center;
    height: 50vh;
    width: 100%;
}
footer .content{
    width: 80%;
    height: 100%;
}
footer .top{
    padding-top: 3vh;
    width: 100%;
    height: 10vh;
    vertical-align: middle;
    border-bottom: rgb(228, 228,228) 0.5px solid;
    margin-bottom: 1vh;
}
footer .middle{
    height: 30vh;
    width: 100%;
    color: rgb(102, 102, 102);
    margin-bottom: 1vh;
    display: flex;
}
footer .middle .left{
    color: rgb(102, 102, 102);
    flex: 1;
    display: flex;
    justify-content: left;
    border-right:  rgb(228, 228,228) .5px solid;
}
footer .middle .left ul{
    padding-left: 2vw;
    position: relative;

}
footer .middle .left ul li{
    list-style:circle;
    padding: 1vh;
}
footer .middle .right{
    color: rgb(102, 102, 102);
    flex:1;
    justify-content: left;
    border-right:  rgb(228, 228,228) .5px solid;
}
footer .middle .right ul{
    padding-left: 2vw;
    position: relative;
}
footer .middle .right ul li{
    list-style:circle;
    color: rgb(102, 102, 102);
    padding: 1vh;
}
footer .middle a{
    transition: all .5s ease-in-out;
    color: #ccc;
}
footer .middle a:hover{
    font-size: 1.1rem;
    color:  rgb(32, 31, 31);
}

footer .bottom  {
    text-align: center;
    border-top: rgb(228, 228,228) 0.5px solid;
}
footer .bottom a{
    color: rgb(102, 102, 102);;
}
footer .bottom a:hover{
    color: blue;
}
